package com.leadingsoft.pwxk.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;

import lombok.Data;

/**
 * 
 * @author ysh
 * @desc 通知公告
 */
@Entity
@Data
public class Announcement implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	@Column(length = 500)
	private String title;

	private String deptName;

	private Date fbTime;

	@Lob
	@Column(length=1048576) 
	private String content;

	private Date updateTime;

}
